<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix'     => 'admin/Deployment',
    'namespace'  => 'Buu\\Modules\\Deployment\\Controllers',
    'middleware' => [
        'web',
        'admin'
    ],
], function (Router $router) {
    $router->get('/index','IndexController@index');
    $router->get('index/create','IndexController@create');
    $router->get('index/list','IndexController@list');
    $router->get('index/{id}/edit','IndexController@edit');
    $router->post('index/saveEdit','IndexController@saveEdit');
    $router->post('index/save','IndexController@save');
    $router->post('index/del','IndexController@del');
    $router->post('index/createAgain','IndexController@createAgain');
});

